import request from '../../utils/request.js'
const state = {
	rankData:[]
}
const mutations = {
	GET_RANKDATA(state,rankData){
		state.rankData=rankData
	}
}
const actions = {
	async getRankData({commit}){
		const result = await request('/getRankData')
		commit('GET_RANKDATA',result)
	}
}
const getters = {}

export default ({
	state,
	mutations,
	actions,
	getters, 
})
